how does war affect the economy